Missing Parenthesis’

CTools™ does not (yet) add the parens for non-toolbox functions which have no arguments.  I know.  I hate that, too.  But I have macros for both “ ()” and “();”  and they are easy to find and add.

The fastest way to do these is let them all go as long as the compiler does not complain.  Then, once you get to the end of the file without syntax errors, use the CMaster™ prototype generator to generate prototypes for the whole file and place them just before the first routine.  Then, scroll down the prototype list and find any void of arguments, select the routine name, use the CMaster™ selection search arrow to find each occurrence of it.  When you find one, simply hit the right arrow and then hit ctrl-[1] or ctrl-option[1] as needed.  With “wrap” set on the selection search, it will come back to the prototype and you’ll know you got them all.  Then just do the next one down the list.

CTools™ also does not fix the parenthesis around casts.  If the line says:

DoSomethingWith (char(doHickey));

Then you Find “(char(“ and Replace All with “((char)(“ and remove the other paren’s around “(doHickey)” later, unless don’t you *love* editing code!  They won’t hurt anything if left in.

The few remaining “gotchas” are regular C - plus toolbox - compiler errors.